package com.weixing.mall.provider.api.service;


import com.weixing.mall.base.wrapper.Result;
import com.weixing.mall.provider.api.fallback.AgencyRpcServiceFallBack;
import com.weixing.mall.provider.api.fallback.PaySetFeignFallBack;
import com.weixing.mall.provider.api.model.vo.ActRpcVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.ribbon.FeignRibbonClientAutoConfiguration;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient(value ="mall-provider-cms",configuration = FeignRibbonClientAutoConfiguration.class,fallback = AgencyRpcServiceFallBack.class)
public interface AgencyRpcService {
    @GetMapping("/api/agency/media")
    Map<String,Integer> selectById(@RequestParam("uid") Long uid);
}
